package com.quanyan.place.wrapper;

import com.quanyan.api.APIResponse;
import com.quanyan.common.Plugin.PageObj;
import com.quanyan.place.entity.TbBizPlaceEmployee;
import com.quanyan.place.entity.apireq.ReqEmployeeInfo;
import com.quanyan.place.entity.apiresp.RespCommerceEmployee;
import com.quanyan.place.entity.vo.EmployeeFormDataVo;
import com.quanyan.place.service.PlaceBaseService;
import com.quanyan.place.service.PlaceInnerService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Created by yangyun on 16-7-6.
 */
public interface CommerceEmployeeWrapper {

    PageObj<List<RespCommerceEmployee>> getEmployeeInfoList(ReqEmployeeInfo reqEmployeeInfo);

    APIResponse<?> importEmployeeData(EmployeeFormDataVo employeeFormDataVo);

    APIResponse <?> updateEmployeeById(EmployeeFormDataVo employeeFormDataVo);

    APIResponse<?> getEmployeeByUid(Integer uid);

    EmployeeFormDataVo getEmployeeById(Integer id);

    APIResponse <?> deleteEmployeeById(Integer id);

    Integer getEmployeeTitleByUid(Integer uid);

    APIResponse saveOrUpdateEmployee(EmployeeFormDataVo employeeFormDataVo);
}
